import { defineStore } from "pinia";
import { ref } from "vue";
// import { userInfoApi } from '@/api/user.js';
//用户路由
export const useRoutesStore = defineStore(
  "big-routes",
  () => {
    const routes = ref([222222, 333333]);
    return {
      routes,
    };
  },
  // { persist: true },
  {
    persist: {
      storage: sessionStorage,
      paths: ["routes"],
    },
  }
);
